package com.springboot.dubbo.service.impl;

import com.alibaba.dubbo.config.annotation.Reference;
import com.springboot.dubbo.facade.ServiceInfoFacade;
import com.springboot.dubbo.pojo.UserInfoPojo;
import com.springboot.dubbo.service.ServiceInfo;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * neu
 * 2019/7/24 13:54
 *
 * @Version : 1.0
 * @Description :
 */
@Service
public class ServiceInfoImpl implements ServiceInfo {

    @Reference
    private ServiceInfoFacade userInfoService;

    @Override
    public List<UserInfoPojo> findUserInfoList(UserInfoPojo dojo) {

        List<UserInfoPojo> userInfoVojo = userInfoService.findUserInfoList(dojo);
        return userInfoVojo;
    }
}
